package cn.yunyichina.provider.iface.entity.base;

import java.io.Serializable;
import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2016-11-07 15:15:26
*/
public class DeptUserResponse implements Serializable {

     private static final long serialVersionUID = 1L;

     /**/
     private String id;
     public void setId(String id) {
          this.id = id;
     }
     public String getId() {
          return id;
     }

     /*组织ID*/
     private String orgId;
     public void setOrgId(String orgId) {
          this.orgId = orgId;
     }
     public String getOrgId() {
          return orgId;
     }

     /*组织名*/
     private String orgName;
     public void setOrgName(String orgName) {
          this.orgName = orgName;
     }
     public String getOrgName() {
          return orgName;
     }

     private List<Department> departments;

     public List<Department> getDepartments() {
          return departments;
     }

     public void setDepartments(List<Department> departments) {
          this.departments = departments;
     }

     public static class Department {

          private String deptId;

          private String deptName;

          private List<User> users;

          /*部门ID*/
          public void setDeptId(String deptId) {
               this.deptId = deptId;
          }
          public String getDeptId() {
               return deptId;
          }

          /*部门名*/
          public void setDeptName(String deptName) {
               this.deptName = deptName;
          }
          public String getDeptName() {
               return deptName;
          }

          public List<User> getUsers() {
               return users;
          }

          public void setUsers(List<User> users) {
               this.users = users;
          }

          public static class User{
               /*员工ID*/
               private String userId;
               public void setUserId(String userId) {
                    this.userId = userId;
               }
               public String getUserId() {
                    return userId;
               }

               /*员工姓名*/
               private String userName;
               public void setUserName(String userName) {
                    this.userName = userName;
               }
               public String getUserName() {
                    return userName;
               }

               /*员工登录名*/
               private String loginName;
               public void setLoginName(String loginName) {
                    this.loginName = loginName;
               }
               public String getLoginName() {
                    return loginName;
               }
          }
     }

}